:root {
  --primary-color: #4fc3f7;
  --secondary-color: #29b6f6;
  --text-light: #ffffff;
  --overlay: rgba(0, 0, 0, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-blue: #64b5f6;
  --accent-green: #81c784;
  --accent-purple: #ba68c8;
  --accent-orange: #ffcc80;
  --accent-red: #ef9a9a;
  --accent-light-blue: #a0c4ff;
  --discord-blue: #7289da;
}
body {
  background: url("../images/background.webp") no-repeat center center fixed;
  background-size: cover;
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: -1;
}
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  max-width: 90vw;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  position: relative;
}
.logo-container {
  margin: 5vh auto 1vh auto;
  text-align: center;
  z-index: 2;
}
.logo-container img {
  height: clamp(4rem, 8vh, 8rem);
  width: auto;
  max-width: 80vw;
  object-fit: contain;
}
.welcome-message {
  text-align: center;
  margin: 0 0 1vh 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2;
}
.welcome-message h1 {
  font-size: clamp(2rem, 4vh, 4rem);
  font-weight: 300;
  margin: 0 0 0.5vh 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  text-align: center;
}
.welcome-message p {
  font-size: clamp(1rem, 2vh, 2rem);
  font-weight: 400;
  margin: 0;
  color: var(--primary-color);
  line-height: 1.3;
  text-align: center;
}
.content-boxes-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 80vw;
  gap: 1.5vw;
  z-index: 2;
  position: absolute;
  bottom: 30vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  flex-wrap: wrap;
}
.community-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 90vw;
  margin: 1vh auto 1.5vh auto;
  gap: 1.5vw;
  z-index: 2;
}
.content-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 1.5vh 2vw;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  max-height: 15vh;
  flex: 0 0 30%;
  max-width: 30%;
  z-index: 2;
}
.content-pack-1 {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
}
.content-pack-2 {
  background: rgba(156, 39, 176, 0.2);
  border: 1px solid rgba(156, 39, 176, 0.5);
}
.content-pack-forums {
  background: rgba(33, 150, 243, 0.2);
  border: 1px solid rgba(33, 150, 243, 0.5);
}
.content-box i {
  font-size: clamp(2rem, 4vh, 4rem);
  margin-right: 1.2vw;
  flex-shrink: 0;
}
.content-pack-1 i {
  color: var(--accent-green);
}
.content-pack-2 i {
  color: var(--accent-purple);
}
.content-pack-forums i {
  color: var(--accent-blue);
}
.content-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-title {
  font-size: clamp(1rem, 2vh, 1.6rem);
  font-weight: 700;
  margin: 0 0 0.4vh 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.content-desc {
  font-size: clamp(0.7rem, 1.4vh, 1.2rem);
  margin: 0 0 0.4vh 0;
  line-height: 1.4;
  font-weight: 500;
}
.content-link {
  display: flex;
  align-items: center;
  margin-top: 0.5vh;
}
.content-link i {
  font-size: clamp(0.8rem, 1.6vh, 1.3rem);
  margin-right: 0.5vw;
  color: var(--text-light);
}
.content-url {
  font-size: clamp(0.8rem, 1.6vh, 1.3rem) !important;
  color: var(--text-light) !important;
  font-weight: 300 !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
.downtime-notice {
  background: rgba(255, 87, 34, 0.15);
  border-radius: 20px;
  padding: 1vh 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5vw;
  margin: 0 auto 1.5vh auto;
  border: 1px solid rgba(255, 87, 34, 0.3);
  max-width: 90%;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.downtime-notice i {
  color: #ffab91;
  font-size: clamp(1.2rem, 2.5vh, 2rem);
  flex-shrink: 0;
}
.notice-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.notice-title {
  margin: 0 0 0.3vh 0;
  font-size: clamp(0.9rem, 1.8vh, 1.3rem);
  font-weight: 600;
  color: #ffccbc;
}
.notice-message {
  margin: 0;
  font-size: clamp(0.7rem, 1.4vh, 1rem);
  line-height: 1.3;
  text-align: left;
}
.discord-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.5);
  border-radius: 15px;
  padding: 1.5vh 2.5vw;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  max-height: 16vh;
  flex: 0 0 50%;
  z-index: 2;
}
.discord-invite i {
  font-size: clamp(1.8rem, 3.5vh, 3.5rem);
  color: var(--discord-blue);
  margin-right: 1.2vw;
  flex-shrink: 0;
}
.discord-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.discord-text p {
  margin: 0;
  font-size: clamp(1rem, 2vh, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
}
.discord-url {
  font-size: clamp(0.9rem, 1.7vh, 1.4rem) !important;
  color: var(--accent-light-blue) !important;
  font-weight: 300;
}
.center-image {
  margin: 1vh auto 2vh auto;
  max-width: 50vw;
  max-height: 25vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.center-image img {
  width: 100%;
  height: auto;
  max-height: 25vh;
  object-fit: contain;
  border-radius: 10px;
}
.server-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.1vw;
  margin: 1vh auto 2vh auto;
  width: 100%;
  max-width: 80vw;
  max-height: 24vh;
  place-items: center;
  z-index: 2;
  justify-items: center;
}
.feature {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1.5vh 1.5vw;
  box-sizing: border-box;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 22vh;
  width: 90%;
  margin: 0 auto;
  z-index: 2;
}
.feature i {
  font-size: clamp(1.8rem, 3.5vh, 3.5rem);
  margin-bottom: 0.8vh;
  color: var(--primary-color);
}
.feature h3 {
  font-size: clamp(1.2rem, 2.5vh, 2rem);
  font-weight: 500;
  margin: 0 0 0.8vh 0;
  line-height: 1.2;
}
.feature p {
  font-size: clamp(0.85rem, 1.6vh, 1.4rem);
  margin: 0;
  line-height: 1.4;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 400;
}
.beta-notice {
  background: rgba(255, 152, 0, 0.2);
  border-radius: 20px;
  padding: 1vh 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  position: absolute;
  bottom: 20vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  border: 1px solid rgba(255, 152, 0, 0.3);
  width: 60vw;
  max-height: 8vh;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.beta-notice i {
  color: var(--accent-orange);
  font-size: clamp(1rem, 2vh, 2rem);
  flex-shrink: 0;
}
.beta-notice p {
  margin: 0;
  font-size: clamp(0.8rem, 1.5vh, 1.2rem);
  line-height: 1.3;
  text-align: center;
}
.click-warning {
  background: rgba(244, 67, 54, 0.15);
  border-radius: 20px;
  padding: 0.8vh 2vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  position: absolute;
  bottom: 15vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  border: 1px solid rgba(244, 67, 54, 0.3);
  width: 45vw;
  max-height: 6vh;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.click-warning i {
  color: var(--accent-red);
  font-size: clamp(0.9rem, 1.7vh, 1.7rem);
  flex-shrink: 0;
}
.click-warning p {
  margin: 0;
  font-size: clamp(0.7rem, 1.3vh, 1rem);
  line-height: 1.3;
  text-align: center;
}
.loading-container {
  position: absolute;
  bottom: 2vh;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1vh 2vw;
  height: auto;
  gap: 1vh;
  z-index: 2;
}
.loading-bar {
  width: 100%;
  max-width: 40vw;
  height: 1vh;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
}
.loading-container p {
  margin: 0;
  font-size: clamp(0.8rem, 1.8vh, 1.5rem);
  text-align: center;
  line-height: 1.3;
}
.connection-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  font-size: clamp(0.7rem, 1.5vh, 1.2rem);
  color: #e0f7ff;
}
.connection-status i {
  color: var(--primary-color);
}
.feature-content {
  gap: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1200px) {
  .server-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2vw;
    max-height: 28vh;
  }
  .feature {
    height: 20vh;
  }
  .discord-invite {
    max-width: 45vw;
  }
  .beta-notice {
    width: 70vw;
  }
  .click-warning {
    width: 50vw;
  }
  .downtime-notice {
    max-width: 85%;
    margin-bottom: 1vh;
  }
  .content-boxes-section {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5vh;
  }
  .content-box {
    flex: 0 0 calc(33.333% - 1.5vw);
    max-width: calc(33.333% - 1.5vw);
  }
}
@media (max-width: 768px) {
  .main-container {
    padding: 0;
  }
  .logo-container {
    margin: 4vh auto 1vh auto;
  }
  .content-boxes-section {
    bottom: 28vh;
  }
  .community-section {
    margin: 0.5vh auto 1.5vh auto;
  }
  .downtime-notice {
    flex-direction: column;
    text-align: center;
    gap: 0.8vh;
    padding: 1vh 2vw;
    margin-bottom: 1vh;
  }
  .notice-content {
    align-items: center;
  }
  .notice-message {
    text-align: center;
    font-size: clamp(0.6rem, 1.2vh, 0.9rem);
  }
  .server-features {
    grid-template-columns: 1fr;
    gap: 0.15vh;
    max-height: 38vh;
  }
  .feature {
    height: 8vh;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 1vh 2vw;
  }
  .feature i {
    margin-right: 2vw;
    margin-bottom: 0;
    font-size: clamp(1.2rem, 2.5vh, 2rem);
  }
  .feature h3 {
    font-size: clamp(0.9rem, 1.5vh, 1.2rem);
    margin-bottom: 0.2vh;
    text-align: left;
  }
  .feature p {
    font-size: clamp(0.6rem, 1vh, 0.9rem);
    line-height: 1.2;
    text-align: left;
    align-items: flex-start;
  }
  .discord-invite {
    max-width: 60vw;
    flex-direction: column;
    text-align: center;
    gap: 1vh;
    padding: 1.5vh 2vw;
  }
  .discord-invite i {
    margin-right: 0;
    margin-bottom: 0.5vh;
  }
  .beta-notice {
    width: 80vw;
    flex-direction: column;
    text-align: center;
    gap: 1vh;
    padding: 1.5vh 2vw;
  }
  .click-warning {
    width: 60vw;
    flex-direction: column;
    text-align: center;
    gap: 1vh;
    padding: 1vh 2vw;
    max-height: 7vh;
  }
  .center-image {
    max-width: 70vw;
  }
  .content-boxes-section {
    flex-direction: column;
    gap: 1.5vh;
  }
  .content-box {
    flex: 1;
    width: 100%;
    max-width: 80vw;
    flex-direction: column;
    text-align: center;
  }
  .content-box i {
    margin-right: 0;
    margin-bottom: 0.5vh;
  }
  .loading-container {
    bottom: 1.5vh;
  }
  .beta-notice {
    bottom: 18vh;
  }
  .click-warning {
    bottom: 13vh;
  }
}
@media (max-width: 480px) {
  .main-container {
    padding: 0;
  }
  .logo-container {
    margin: 3vh auto 1vh auto;
  }
  .content-boxes-section {
    bottom: 26vh;
  }
  .community-section {
    margin: 0.5vh auto 1.5vh auto;
  }
  .welcome-message h1 {
    font-size: clamp(1.5rem, 3vh, 2.5rem);
  }
  .welcome-message p {
    font-size: clamp(0.9rem, 1.8vh, 1.3rem);
  }
  .downtime-notice {
    padding: 0.8vh 2vw;
    margin-bottom: 0.8vh;
  }
  .downtime-notice i {
    font-size: clamp(1rem, 2vh, 1.5rem);
  }
  .notice-title {
    font-size: clamp(0.8rem, 1.6vh, 1.1rem);
  }
  .notice-message {
    font-size: clamp(0.6rem, 1.2vh, 0.8rem);
  }
  .discord-invite {
    max-width: 85vw;
    padding: 1vh 3vw;
  }
  .beta-notice {
    width: 90vw;
    padding: 1vh 3vw;
  }
  .click-warning {
    width: 70vw;
    padding: 0.8vh 3vw;
    max-height: 7vh;
  }
  .center-image {
    max-width: 85vw;
    max-height: 20vh;
  }
  .loading-bar {
    max-width: 70vw;
  }
  .server-features {
    max-height: 42vh;
    gap: 0.1vh;
  }
  .feature {
    height: 7vh;
    padding: 0.5vh 3vw;
  }
  .content-boxes-section {
    gap: 1vh;
  }
  .content-box {
    max-width: 90vw;
  }
  .content-title {
    font-size: clamp(0.9rem, 1.6vh, 1.2rem);
  }
  .content-desc {
    font-size: clamp(0.7rem, 1.3vh, 1rem);
  }
  .content-url {
    font-size: clamp(0.6rem, 1.1vh, 0.9rem);
  }
  .loading-container {
    bottom: 1vh;
  }
  .beta-notice {
    bottom: 16vh;
  }
  .click-warning {
    bottom: 12vh;
  }
}
@media (max-width: 320px) {
  .main-container {
    padding: 0;
  }
  .logo-container {
    margin: 2vh auto 1vh auto;
  }
  .content-boxes-section {
    bottom: 24vh;
  }
  .community-section {
    margin: 0.5vh auto 1.5vh auto;
  }
  .downtime-notice {
    padding: 0.6vh 1.5vw;
    margin-bottom: 0.6vh;
  }
  .downtime-notice i {
    font-size: clamp(0.9rem, 1.8vh, 1.2rem);
  }
  .notice-title {
    font-size: clamp(0.7rem, 1.4vh, 1rem);
  }
  .notice-message {
    font-size: clamp(0.5rem, 1vh, 0.7rem);
  }
  .discord-invite {
    max-width: 95vw;
  }
  .beta-notice {
    width: 90vw;
  }
  .click-warning {
    width: 80vw;
  }
  .center-image {
    max-width: 90vw;
  }
  .content-boxes-section {
    gap: 0.8vh;
  }
  .content-box {
    max-width: 95vw;
  }
  .server-features {
    gap: 0.1vh;
  }
  .loading-container {
    bottom: 0.8vh;
  }
  .beta-notice {
    bottom: 15vh;
  }
  .click-warning {
    bottom: 11vh;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .main-container {
    justify-content: flex-start;
    gap: 0.5vh;
  }
  .logo-container {
    margin: 2vh auto 1vh auto;
  }
  .content-boxes-section {
    bottom: 22vh;
  }
  .community-section {
    margin: 0.5vh auto 1.5vh auto;
  }
  .welcome-message {
    margin-bottom: 0.5vh;
  }
  .downtime-notice {
    padding: 0.4vh 1vw;
    margin-bottom: 0.5vh;
    max-height: 5vh;
  }
  .downtime-notice i {
    font-size: clamp(0.8rem, 1.5vh, 1.2rem);
  }
  .notice-title {
    margin-bottom: 0.1vh;
    font-size: clamp(0.7rem, 1.3vh, 0.9rem);
  }
  .notice-message {
    font-size: clamp(0.5rem, 1vh, 0.7rem);
    line-height: 1.1;
  }
  .server-features {
    grid-template-columns: repeat(4, 1fr);
    max-height: 15vh;
    gap: 0.1vw;
  }
  .feature {
    height: 12vh;
    flex-direction: column;
    text-align: center;
  }
  .center-image {
    max-height: 15vh;
  }
  .loading-container {
    height: auto;
    bottom: 0.5vh;
  }
  .click-warning {
    max-height: 5vh;
    padding: 0.5vh 1vw;
  }
  .content-boxes-section {
    flex-direction: row;
    gap: 1vw;
  }
  .content-box {
    flex: 1;
    max-width: 30%;
    flex-direction: row;
  }
  .content-box i {
    margin-right: 0.5vw;
    margin-bottom: 0;
  }
  .beta-notice {
    bottom: 12vh;
  }
  .click-warning {
    bottom: 8vh;
  }
}